if (typeof isLoad == "undefined") {
	isLoad = false;
}
function checkScriptLoad() {
	if(!isLoad) {
		isLoad = true;
		  chrome.extension.onMessage.addListener(function(request, sender, response) {
		    if (request.msg == 'is_page_capturable') {
		      try {
		        if (isPageCapturable()) {
		          response({msg: 'capturable'});
		        } else {
		          response({msg: 'uncapturable'});
		        }
		      } catch(e) {
		        response({msg: 'loading'});
		      }
		    }
		  });
	};
}

checkScriptLoad();
